﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

using Vitruvian.Serialization;
using Vitruvian.Logging;
using Vitruvian.Testing;

namespace SpotItComponents
{
    [OptimisticSerialization]
    public class HotSpot
    {
        #region Public Properties
        public Point CenterLocation { get; set; }
        public int Radius { get; set; }
        [DontSerialize]
        public Guid SymbolId { get; set; }
        #endregion

        #region Constructors
        public HotSpot() { }
        public HotSpot(SymbolPositioning positioning)
        {
            CenterLocation = positioning.CenterLocation;
            Radius = positioning.Radius;
            SymbolId = positioning.Symbol.Id;
        }
        #endregion
    }
}
